import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int sum=0;
        int num=0;
        while(sc.hasNextInt()){
            int tmp= sc.nextInt();
            sum+=tmp;
            num++;
        }
        System.out.println("Sum="+sum);
        System.out.println("Avg="+sum/num);
        sc.close();
    }
}
